<html>
<head>
<style>
@page {
  size: 200px 350px;
  margin: 40px;
}
body, html {
  margin: 0;
}
</style>
</head>
<body style="font-family: 'TestFont'; color: black; font-size: 30px;">
<div style="border: 1px solid black; width: 50px; height: 50px;">
  123
  <div style="display: inline-block; transform: rotate(45deg); width: 30px; height: 50px; background-color: red; border: 5px solid purple; padding: 10px; margin: 10px;">7890123456</div>
  456
</div>
</body>
</html>
